package xuan.mall.system.interfaces.dto.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import xuan.mall.system.domain.entity.Menu;

import java.util.List;

/**
 * @author: rongxuanzhou
 * @create: 2025/5/31
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MenuVO extends Menu {
    /**
     * 前端唯一标识
     */
    private String key;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 可见性
     */
    private Boolean visible;

    /**
     * 子菜单
     */
    private List<MenuVO> children;
}
